package com.exam.model;

import java.util.ArrayList;

/**
 * 提交试卷的form
 * @author 维康
 *
 */
public class TestPaperForm {
	
	private ArrayList<String> myAnswer = new ArrayList<String>(); //用户提交的答案
	private ArrayList<String> qids = new ArrayList<String>(); //试题id
	
	private String realAnswer;  //正确答案
	private int pid;         //试卷id
	private String sid;         //学号
	private double qscore;
	
	public ArrayList<String> getMyAnswer() {
		return myAnswer;
	}
	public void setMyAnswer(ArrayList<String> myAnswer) {
		this.myAnswer = myAnswer;
	}
	
	public String getRealAnswer() {
		return realAnswer;
	}
	public void setRealAnswer(String realAnswer) {
		this.realAnswer = realAnswer;
	}
	public String getSid() {
		return sid;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public ArrayList<String> getQids() {
		return qids;
	}
	public void setQids(ArrayList<String> qids) {
		this.qids = qids;
	}

	public double getQscore() {
		return qscore;
	}
	public void setQscore(double qscore) {
		this.qscore = qscore;
	}
	@Override
	public String toString() {
		return "TestPaperForm [myAnswer=" + myAnswer + ", qids=" + qids
				+ ", realAnswer=" + realAnswer + ", pid=" + pid + ", sid="
				+ sid + ", qscore=" + qscore + "]";
	}
	
}
